package com.ucenter.server.auth.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.ucenter.server.auth.pojo.RoleRes;

/**
 * role_res的Dao
 * @author autoCode
 * @date 2018-12-01 09:50:44
 * @version V1.0.0
 */
public interface RoleResDao {

	public abstract void save(RoleRes roleRes);

	public abstract void update(RoleRes roleRes);

	public abstract void delete(@Param("roleId")String roleId, @Param("resId")String resId);

	public abstract RoleRes get(@Param("roleId")String roleId, @Param("resId")String resId);

	public abstract List<RoleRes> findRoleRes(RoleRes roleRes);
	
	public abstract int findRoleResCount(RoleRes roleRes);

	public abstract List<RoleRes> findByRoleId(@Param("roleId")String roleId);
}